﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;


namespace Wicresoft.EKA.NRemedy
{
    //TODO get set 完成加密解密。
    [XmlRoot]
    public class ARLoginContextSerializer
    {
        [XmlAttribute]
        public string Server { get; set; }
        [XmlAttribute]
        public string User { get; set; }
        [XmlAttribute]
        public string Password { get; set; }
        [XmlAttribute]
        public string Authentication { get; set; }
    }

    [XmlRoot]
    public class ARLoginContextSerializers
    {
        [XmlArrayItem(typeof(ARLoginContextSerializer))]
        public ARLoginContextSerializer[] Contexts { get; set; }
    }
}
